{"version":3,"sources":["ui.alerts.js"],"names":["BX","namespace","UI","Alert","options","this","container","text","icon","textNode","closeBtn","closeNode","animated","color","Color","PRIMARY","size","Size","MEDIUM","setText","setAnimation","setInline","inline","setTextCenter","textCenter","setIcon","setColor","setSize","DEFAULT","DANGER","SUCCESS","WARNING","SMALL","Icon","INFO","prototype","type","isNotEmptyString","removeClass","getContainer","addClass","getText","boolean","isBoolean","getTextNode","create","props","className","html","getCloseBtn","events","click","handleCloseBtnClick","bind","animateClosing","remove","style","overflow","alertWrapPos","pos","height","setTimeout","paddingTop","paddingBottom","marginBottom","opacity","maxHeight","max-height","padding-top","padding-bottom","margin-bottom","children","removeProperty"],"mappings":"CAAA,WAEC,aAEAA,GAAGC,UAAU,eAEbD,GAAGE,GAAGC,MAAQ,SAASC,GAEtBC,KAAKD,QAAUA,MAEfC,KAAKC,UAAY,KACjBD,KAAKE,KAAO,KACZF,KAAKG,KAAO,KACZH,KAAKI,SAAW,KAChBJ,KAAKK,SAAW,MAChBL,KAAKM,UAAY,KACjBN,KAAKO,SAAW,MAChBP,KAAKQ,MAAQb,GAAGE,GAAGC,MAAMW,MAAMC,QAC/BV,KAAKW,KAAOhB,GAAGE,GAAGC,MAAMc,KAAKC,OAE7Bb,KAAKc,QAAQf,EAAQG,MAErBF,KAAKe,aAAahB,EAAQQ,UAC1BP,KAAKgB,UAAUjB,EAAQkB,QACvBjB,KAAKkB,cAAcnB,EAAQoB,YAC3BnB,KAAKoB,QAAQrB,EAAQI,MACrBH,KAAKqB,SAAStB,EAAQS,OACtBR,KAAKsB,QAAQvB,EAAQY,OAOtBhB,GAAGE,GAAGC,MAAMW,OACXc,QAAS,mBACTC,OAAQ,kBACRC,QAAS,mBACTf,QAAS,mBACTgB,QAAS,oBAOV/B,GAAGE,GAAGC,MAAMc,MACXC,OAAQ,cACRc,MAAO,eAORhC,GAAGE,GAAGC,MAAM8B,MACXF,QAAS,wBACTF,OAAQ,uBACRK,KAAM,sBAGPlC,GAAGE,GAAG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